#include <string.h>
#include <array>
#include <iostream>
#include <string>
#include <sstream>
#include <clocale>
#include <list>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include <clocale>
#include <map>

using namespace std;


namespace u32{
#pragma once
	class Ip
	{

		
		
	public:

		


		struct data {
			int a;

		
		
		
		
		};

		std::map<data, int> m;




		Ip()
		{
		}


		void ReadFromFile(string in)
		{
			int ipnr;
			string str;
			ifstream fin;
			fin.open(in);


			while (std::getline(fin, str))
			{
				istringstream iss(str);
				int ipnr;

				char t;
				int a, b, c, d, i;

				iss >> a >> t >> b >> t >> c >> t >> d;


				ipnr = a * 1000000000 + b * 1000000 + c * 1000 + d;

				v[ipnr]++;



			}
		}



		~Ip()
		{
		}
	};
}


